package com.gaohe.scp.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 用户流水对象 cs_money
 *
 * @author liuxiangyu
 * @date 2025-03-16
 */
public class CsMoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资金ID */
    private Long moneyId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 资金 */
    @Excel(name = "资金")
    private BigDecimal money;

    /** 资金类型 */
    @Excel(name = "资金类型")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除 */
    private String delFlag;

    public void setMoneyId(Long moneyId)
    {
        this.moneyId = moneyId;
    }

    public Long getMoneyId()
    {
        return moneyId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("moneyId", getMoneyId())
                .append("userId", getUserId())
                .append("money", getMoney())
                .append("type", getType())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
